From: Eli Zaretskii Date: Mon, 29 Dec 2003 12:55:59 +0000 (+0000) Subject: (zone-mode): Use write-file-functions, not write-file-hooks. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~24694 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=1b7731e07f2ee6440b09a751c9048ca6ca59e443;p=emacs.git (zone-mode): Use write-file-functions, not write-file-hooks. --- diff --git a/lisp/net/zone-mode.el b/lisp/net/zone-mode.el index 591deee3144..6b4d22f9b13 100644 --- a/lisp/net/zone-mode.el +++ b/lisp/net/zone-mode.el @@ -92,7 +92,7 @@ Zone-mode does two things: - fontification" - (add-hook 'write-file-hooks 'zone-mode-update-serial-hook nil t) + (add-hook 'write-file-functions 'zone-mode-update-serial-hook nil t) (if (null zone-mode-syntax-table) (zone-mode-load-time-setup)) ;; should have been run at load-time